package trader.orig;

public abstract class Instrument {
    protected final String symbol;
    protected final String id;
    
    //private double buy;
    //private double sell;
    
    public Instrument(String symbol, String id) {
        this.symbol = symbol;
        this.id = id;
    }
    
    public String symbol() {
        return symbol;
    }
    
    public String id() {
        return id;
    }
    
    
    /*
    public void setBuy(double buy) {
        this.buy = buy;
    }
    
    public void setSell(double sell) {
        this.sell = sell;
    }
    
    public double getBuy() {
        return buy;
    }
    
    public double getSell() {
        return sell;
    }
    */
}
